package org.javaboy.ai.service;

import org.javaboy.ai.domain.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author javaboy
 * @since 2024-07-03
 */
public interface ICategoryService extends IService<Category> {

    List<Category> getAllCategories();

    List<Category> selectCategoryList(Category category);

    boolean checkNameExists(Category category);

    boolean deleteCategory(Long[] categoryIds);

    List<String> getAllCategoryName();
}
